﻿/*
* ==============================================================================
*
* FileName: CompanyDto.cs
* Created: 2020/6/08 10:45:49
* Author: Meiam
* Description: 
*
* ==============================================================================
*/
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace Meiam.System.Model.Dto
{

    /// <summary>
    /// MES数据对象
    /// </summary>
    public class GZCRMCreatePackingListDto : PageParm
    {

        /// <summary>
        /// 描述 :  
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "")]
        public string QueryText { get; set; }

    }


    public class GZCRMCreatePackingListRequestDto
    {
        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "shipment_no")]
        public string shipment_no { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "shipment_date")]
        public string shipment_date { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "customer_no")]
        public string customer_no { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "customer_name")]
        public string customer_name { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "DESTINATIONCOUNTRY")]
        public string DESTINATIONCOUNTRY { get; set; }


        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSMODE")]
        public string TRANSMODE { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRADEMODE")]
        public string TRADEMODE { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "FROMCOUNTRY")]
        public string FROMCOUNTRY { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRADECOUNTRY")]
        public string TRADECOUNTRY { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "COPID")]
        public string COPID { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "MSGID")]
        public string MSGID { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "IFID")]
        public string IFID { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SENDER")]
        public string SENDER { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "RECEIVER")]
        public string RECEIVER { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ASYN")]
        public string ASYN { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BILLNO_SOG")]
        public string BILLNO_SOG { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "INVOICENO")]
        public string INVOICENO { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "rows")]
        public List<GZCRMCreatePackingListDetails> rows { get; set; }
    }
    /// <summary>
    /// 请求参数
    /// </summary>
    public class GZCRMCreatePackingListDetails
    {
        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PACKAGECODE")]
        public string PACKAGECODE { get; set; }


        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PRICE_PO")]
        public double? PRICE_PO { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "AMOUNT_PO")]
        public double? AMOUNT_PO { get; set; }


        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "line_no")]
        public string line_no { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_code")]
        public string material_code { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_name")]
        public string material_name { get; set; }


        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "material_layout")]
        public string material_layout { get; set; }


        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "pallets_qty")]
        public string pallets_qty { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "pallet_amount")]
        public string pallet_amount { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "pallet_gweight")]
        public string pallet_gweight { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "pallet_nweight")]
        public string pallet_nweight { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "pallet_volume")]
        public string pallet_volume { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "DELIVERYADDR")]
        public string DELIVERYADDR { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LINENUM_PLAN")]
        public int LINENUM_PLAN { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRADEMODE")]
        public string TRADEMODE { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "transmode")]
        public string transmode { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "DUTYMODE")]
        public string DUTYMODE { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "GOODSTYPE")]
        public int GOODSTYPE { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ERPGMODEL")]
        public string ERPGMODEL { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LOADQTY")]
        public double? LOADQTY { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ERPUNIT")]
        public string ERPUNIT { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PRICE")]
        public double? PRICE { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "AMOUNT")]
        public double? AMOUNT { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CURR")]
        public string CURR { get; set; }

        /// <summary>
        /// 描述 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ORIGINCOUNTRY")]
        public string ORIGINCOUNTRY { get; set; }

    }

   
    /// <summary>
    /// 
    /// </summary>
    public class GZCRMCreatePackingListResponseDto
    {
        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "code")]
        public int code { get; set; }

        /// <summary>
        /// 描述 : 返回行状态 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "message")]
        public string message { get; set; }
    }

    public class GW_AddPackingListRequestDto
    {
        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "IFINFO")]
        public GW_AddPackingList_IfInfo_Dto IFINFO { get; set; }

        public List<GW_AddPackingList_Data_Dto> DATA { get; set; }
    }

    public class GW_AddPackingList_IfInfo_Dto
    {
        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "MSGID")]
        public string MSGID { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "IFID")]
        public string IFID { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "SENDER")]
        public string SENDER { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "RECEIVER")]
        public string RECEIVER { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ASYN")]
        public string ASYN { get; set; }
    }

    public class GW_AddPackingList_Data_Dto
    {
   
        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "COPID")]
        public string COPID { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LISTBILLNO")]
        public string LISTBILLNO { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "FROMCOUNTRY")]
        public string FROMCOUNTRY { get; set; }


        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "COTRADECOUNTRYPID")]
        public string TRADECOUNTRY { get; set; }



        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LOADDATE")]
        public string LOADDATE { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "COPINNCODE_VC")]
        public string COPINNCODE_VC { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "VCOPFULLNAME")]
        public string VCOPFULLNAME { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "DELIVERYADDR")]
        public string DELIVERYADDR { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BILLNO_SOG")]
        public string BILLNO_SOG { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "INVOICENO")]
        public string INVOICENO { get; set; }

        public List<GW_AddPackingList_DataDetailes_Dto> DETAILED { get; set; }
    }

    public class GW_AddPackingList_DataDetailes_Dto
    {
        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "DESTINATIONCOUNTRY")]
        public string DESTINATIONCOUNTRY { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRANSMODE")]
        public string TRANSMODE { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PACKAGECODE")]
        public string PACKAGECODE { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PRICE_PO")]
        public double? PRICE_PO { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "AMOUNT_PO")]
        public double? AMOUNT_PO { get; set; }

    
        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LINENUM")]
        public int LINENUM { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BOXNO")]
        public string BOXNO { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "BILLNO_PLAN")]
        public string BILLNO_PLAN { get; set; }


        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LINENUM_PLAN")]
        public int LINENUM_PLAN { get; set; }


        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "TRADEMODE")]
        public string TRADEMODE { get; set; }


        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "DUTYMODE")]
        public string DUTYMODE { get; set; }


        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "GOODSTYPE")]
        public int GOODSTYPE { get; set; }


        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ERPGNO")]
        public string ERPGNO { get; set; }


        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ERPGNAME")]
        public string ERPGNAME { get; set; }


        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ERPGMODEL")]
        public string ERPGMODEL { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "LOADQTY")]
        public int LOADQTY { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "ERPUNIT")]
        public string ERPUNIT { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PRICE")]
        public double?  PRICE { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "AMOUNT")]
        public double? AMOUNT { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "CURR")]
        public string CURR { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "PIECES")]
        public int PIECES { get; set; }

        

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "VOLUME")]
        public double? VOLUME { get; set; }


        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "NETWT")]
        public double? NETWT { get; set; }


        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "GROSSWT")]
        public double? GROSSWT { get; set; }


        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "GROSSWT")]
        public string ORIGINCOUNTRY { get; set; }



    }


    public class GW_AddPackingList_Re_Dto
    {
        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "STATE")]
        public string STATE { get; set; }

        /// <summary>
        /// 描述 : 发货日期 
        /// 空值 : False
        /// 默认 : 
        /// </summary>
        [Display(Name = "MSG")]
        public string MSG { get; set; }

    }



}
